<?php
session_start();
include('comFunctions.php');

$lang = getVar('lang');
$redir = getVar('redir');

if ( empty($lang) )
	$_SESSION['cur_lang'] = 'vn';
else
	if ( strtolower($lang) == 'vn' )
		$_SESSION['cur_lang'] = 'vn';
	else if ( strtolower($lang) == 'en' )
		$_SESSION['cur_lang'] = 'en';
//die($_SESSION['cur_lang']);
header("Location: $redir");
?>